package com.zhy.servlet;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
/**
 * @desc springBoot整合Servlet方式一
 * @author zhy
 *
 */
@SpringBootApplication
@ServletComponentScan //spring启动时扫面@WebServlet注解
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
